package com.thoughtful.registry;

import java.net.InetSocketAddress;

import com.thougtful.extension.SPI;

/**
 * @author yushun
 * @createTime 2022/10/18 - 17:34
 **/
@SPI
public interface ServiceRegister {

    /**
     * 注册服务
     * @param rpcServiceName    服务名称
     * @param inetSocketAddress 服务器地址
     */
    void registerService(String rpcServiceName, InetSocketAddress inetSocketAddress);

}
